﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    public class app:IAggregateRoot
    {
        public int ID { get; set; }
        [MaxLength(255)]
        [Column(TypeName = "varchar")]
        public string name { get; set; }
        [MaxLength(500)]
        [Column(TypeName = "varchar")]
        public string icon { get; set; }
        [MaxLength(500)]
        [Column(TypeName = "varchar")]
        public string url { get; set; }
        public int type { get; set; }
        public int width { get; set; }
        public int height{get;set;}
        public bool isresize { get; set; }
        public bool issetbar { get; set; }
        [MaxLength(500)]
        [Column(TypeName = "nvarchar")]
        public string remark { get; set; }
        public bool isshow { get; set; }
        public int OrderBy { get; set; }
        public int atype { get; set; }
    }
}
